import { Service } from 'boot/axios'

// 获取资质信息
export function getCommonInfoApi <T = any>() {
  return Service<T>({
    url: 'member/source/getCommonInfo',
    method: 'post',
  })
}

// 上传用户资质信息
export function updateSourceInfoApi <T = any>(data: any) {
  return Service<T>({
    url: 'member/source/updateSourceInfo',
    method: 'post',
    data
  })
}

// 商户授权
export function approveToPushApi <T = any>(data: any) {
  return Service<T>({
    url: 'merchant/approveToPush',
    method: 'post',
    data
  })
}

